package com.huike.pojo;

import lombok.Data;

import java.util.Date;

@Data
public class Drug {
    private Integer id;
    private String img;
    private Double inPrice;
    private Double outPrice;
    private String drugName;
    private String drugType;
    private String description;
    private Integer quality;//质量
    private String detailDescription;
    private String factory;
    private String instruction;
    private String note;
    private Integer totalNumber;
    private Integer sentNumber;
    private Integer resetNumber;
    private Integer status;
    private Date  ChargeDate;
    public Drug(){

    }

    public Drug(Double outPrice, String drugName,Date  ChargeDate) {
        this.outPrice = outPrice;
        this.drugName = drugName;
        this.ChargeDate = ChargeDate;
    }

    public Drug(String img, Double inPrice, Double outPrice, String drugName, String drugType, String description,
                Integer quality, String detailDescription, String factory, String instruction, String note){
        this.img=img;
        this.inPrice=inPrice;
        this.outPrice=outPrice;
        this.drugName=drugName;
        this.drugType=drugType;
        this. description=description;
        this.quality=quality;
        this.detailDescription=detailDescription;
        this.factory=factory;
        this.instruction=instruction;
        this.note=note;
    }
}
